package cn.chenwx.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import lombok.Data;

import java.util.Date;

@Data
public class EnportDemo {

    private Integer id;
    @ExcelProperty({"班级A","字符串标题"})
    private String title;
    @ExcelProperty({"班级A","日期标题"})
    @DateTimeFormat("yyyy年MM月dd日")
    private Date test_time;
    @ExcelProperty({"班级 A","数字标题"})
    private Double number;


}
